package cn.edu.neusoft.practice.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;
//java bean
//寻找同名表
@Data
public class Room {
	@TableId
	private int roomId;
	private String roomName;
	private int floor;
	private int departId1;
	private int departId2;
	@TableField(exist = false)
	private String parentDep;
	public String getParentDep() {
		return parentDep;
	}
	public void setParentDep(String parentDep) {
		this.parentDep = parentDep;
	}
	public int getRoomId() {
		return roomId;
	}
	public void setRoomId(int roomId) {
		this.roomId = roomId;
	}
	public String getRoomName() {
		return roomName;
	}
	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}
	public int getFloor() {
		return floor;
	}
	public void setFloor(int floor) {
		this.floor = floor;
	}
	public int getDepartId1() {
		return departId1;
	}
	public void setDepartId1(int departId1) {
		this.departId1 = departId1;
	}
	public int getDepartId2() {
		return departId2;
	}
	public void setDepartId2(int departId2) {
		this.departId2 = departId2;
	}

}
